-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snapshot support on supervisor #3062
base: master
Are you sure you want to change the base?
Snapshot support on supervisor #3062
Conversation
f55fac9
to
84f3b09
Compare
5c9c6a1
to
af59ec0
Compare
c1ed874
to
9bf7cf2
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kavyashree-r, sipriyaa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
00cd63d
to
662ce86
Compare
c0a4254
to
a90d979
Compare
13fea09
to
5852883
Compare
@sipriyaa: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a few comments
|
||
Test Steps: | ||
========== | ||
1. Read Storage Class "shared-ds-policy-1571". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any specific SC to use here??
framework.Failf("Unable to find ready and schedulable Node") | ||
} | ||
|
||
// delete nginx service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change the comment
dsRef.Value, GetAndExpectStringEnvVar(envContentLibraryUrlSslThumbprint)) | ||
|
||
/* | ||
[ ~ ]# kubectl get vmclass -n csi-vmsvcns-2227 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I have intentionally left these comments because the VM service feature is new to everyone. The comments provide context on what each code block is doing and how to verify it on the backend. This helps the end user understand the end-to-end VM service code flow.
I'm leaving this comment open because I want to understand why you're asking me to remove it.
What this PR does / why we need it:
This PR includes existing snapshot-related code changes and additions to support snapshots on Supervisor components such as PodVM, VM Service, Stretched Supervisor, and Multi SVC.
Testing done:
Yes
Supervisor Logs:
supervisor-logs.txt
Lint Check:
sipriya@C02CR8ENMD6M vsphere-csi-driver % golangci-lint run --enable=lll
sipriya@C02CR8ENMD6M vsphere-csi-driver % make golangci-lint
hack/check-golangci-lint.sh
golangci/golangci-lint info checking GitHub for tag 'v1.59.1'
golangci/golangci-lint info found version: 1.59.1 for v1.59.1/darwin/amd64
golangci/golangci-lint info installed /Users/sipriya/go/bin/golangci-lint
INFO golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z
INFO [config_reader] Config search paths: [./ /Users/sipriya/snapshot-supervisor-support-set1/vsphere-csi-driver /Users/sipriya/snapshot-supervisor-support-set1 /Users/sipriya /Users /]
INFO [config_reader] Used config file .golangci.yml
INFO [lintersdb] Active 8 linters: [errcheck gosimple govet ineffassign lll misspell staticcheck unused]
INFO [loader] Go packages loading at mode 575 (compiled_files|exports_file|imports|name|deps|files|types_sizes) took 1m3.638701092s
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 425.612542ms